package com.iaiai.cobra.redis.keys;

/**
 * Created with RedisKeys.
 * Package: com.iaiai.cobra.redis
 * Author: iaiai
 * Create Time: 2023/8/11 10:48
 * QQ: 176291935
 * Email: 176291935@qq.com
 * Description:
 */
public final class RedisAdminKeys {

    public final static String redisPrefix = RedisKeys.redisPrefix + ".admin"; //redis存储前缀

    public final static String tokenKey = redisPrefix + ":login:user:token";   //值为token用户的对象
    public final static String userKey = redisPrefix + ":login:user:id";   //值为user用户的对象

    public final static String onlineUser = redisPrefix + ":online:user";   //以用户来存储token
    public final static String onlineToken = redisPrefix + ":online:token";   //以token来关联用户

}
